package com.lngsyz.ywtb.pay.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 印章交易明细对象 seal_trade_details_info
 * 
 * @author seabert
 * @date 2020-10-29
 */
public class SealTradeDetailsInfoVO implements Serializable {

	private static final long serialVersionUID = -8638791377098004884L;

	/** 商品编号 */
	private String goodsId;

	/** 商品名称 */
	private String goodsName;

	/** 商品数量 */
	private Integer quantity;

	/** 商品单价(元) */
	private BigDecimal price;

	/** 商品编号 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	/** 商品编号 */
	public String getGoodsId() {
		return goodsId;
	}

	/** 商品名称 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	/** 商品名称 */
	public String getGoodsName() {
		return goodsName;
	}

	/** 商品数量 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	/** 商品数量 */
	public Integer getQuantity() {
		return quantity;
	}

	/** 商品单价(元) */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	/** 商品单价(元) */
	public BigDecimal getPrice() {
		return price;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.JSON_STYLE).append("goodsId", getGoodsId())
				.append("goodsName", getGoodsName()).append("quantity", getQuantity()).append("price", getPrice())
				.toString();
	}
}
